<?php


define("ROOT_URL", "http://localhost/shturl/");

// =================================
// = Set this to dev, test or prod =
// =================================
define('MODE','dev');


mysql_connect("localhost", "root", "");
mysql_select_db("microurl");

if(!$_COOKIE['token']){

    $token = md5(uniqid());
    setcookie('token', $token, time()+7776000);
	
    $_COOKIE['token'] = $token; // Forcer l'assignation du cookie.
}

?>